// import Vue from 'vue'
// import Vuex from 'vuex'
// Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // 当前引导步骤
    currentStep: 0,
    // 当前引导最大已完成步骤
    maxStep: 0,

    keepAlive: [],
  },
  mutations: {
    SET_KEEP_ALIVE: (state, keepAlive) => {
      state.keepAlive = keepAlive
    }
  },
  actions: {
  },
  modules: {
  },
  getters: {
    keepAlive: state => state.keepAlive
  }
})
